<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/sinks/dist_sink.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('dist__sink_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">dist_sink.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="dist__sink_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Copyright (c) 2015 David Schury, Gabi Melman</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Distributed under the MIT License (http://opensource.org/licenses/MIT)</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef SPDLOG_H</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spdlog_8h.html">spdlog/spdlog.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="base__sink_8h.html">base_sink.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="log__msg_8h.html">spdlog/details/log_msg.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="null__mutex_8h.html">spdlog/details/null_mutex.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;mutex&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">// Distribution sink (mux). Stores a vector of sinks which get called when log</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">// is called</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacespdlog.html">spdlog</a> {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span>sinks {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Mutex&gt;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html">   28</a></span>&#160;<span class="keyword">class </span><a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink</a> : <span class="keyword">public</span> <a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink</a>&lt;Mutex&gt;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;{</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#ab5cfe7f044b6381435eac6dc273384e5">dist_sink</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#ab5cfe7f044b6381435eac6dc273384e5">dist_sink</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink</a> &amp;<a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a6f91b5522c12fd448ca2fd7cb8fe0097">operator=</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink</a> &amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#ae2250f59f23ecaf3214da6059198ad3c">   35</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#ae2250f59f23ecaf3214da6059198ad3c">add_sink</a>(std::shared_ptr&lt;sink&gt; <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>)</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    {</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        std::lock_guard&lt;Mutex&gt; lock(<a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink&lt;Mutex&gt;::mutex_</a>);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>.push_back(sink);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    }</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#ac1537fdc6225fd57cc819e1fb9c5f8c7">   41</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#ac1537fdc6225fd57cc819e1fb9c5f8c7">remove_sink</a>(std::shared_ptr&lt;sink&gt; <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>)</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        std::lock_guard&lt;Mutex&gt; lock(<a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink&lt;Mutex&gt;::mutex_</a>);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>.erase(<a class="code" href="namespacespdlog_1_1details_1_1os.html#a6026b23c139f733601c1a5fa9f4d555f">std::remove</a>(<a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>.begin(), <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>.end(), <a class="code" href="classspdlog_1_1sinks_1_1sink.html#ae32182a47ebea9c66c02e6a9822ffdcd">sink</a>), <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>.end());</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#aa0e154cef03e368fefaa7bc845d682a1">   47</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#aa0e154cef03e368fefaa7bc845d682a1">set_sinks</a>(std::vector&lt;std::shared_ptr&lt;sink&gt;&gt; sinks)</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        std::lock_guard&lt;Mutex&gt; lock(<a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink&lt;Mutex&gt;::mutex_</a>);</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a> = std::move(sinks);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#a516ef929a8cd73df2ead2e0086e04607">   54</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a516ef929a8cd73df2ead2e0086e04607">sink_it_</a>(<span class="keyword">const</span> <a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;msg)<span class="keyword"> override</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;<a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a> : <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>)</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        {</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>-&gt;<a class="code" href="classspdlog_1_1sinks_1_1sink.html#aee70cdd1f77473d658840447d3f3afff">should_log</a>(msg.<a class="code" href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">level</a>))</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>-&gt;<a class="code" href="classspdlog_1_1sinks_1_1sink.html#a51d8f34ad79064e0dc13c6013236e427">log</a>(msg);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            }</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#a790a80f63276473cedbce99047adcab0">   66</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a790a80f63276473cedbce99047adcab0">flush_</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;<a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a> : <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>)</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>-&gt;<a class="code" href="classspdlog_1_1sinks_1_1sink.html#a8a0674ae3bca8f1617aef820e23a2ccd">flush</a>();</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        }</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    }</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#a6f77a1e2f45ed85ee8ed554cf7442d4e">   74</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a6f77a1e2f45ed85ee8ed554cf7442d4e">set_pattern_</a>(<span class="keyword">const</span> std::string &amp;pattern)<span class="keyword"> override</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a5e83e285fcceaab7ee4c4736c2decef0">set_formatter_</a>(details::make_unique&lt;spdlog::pattern_formatter&gt;(pattern));</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    }</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#a5e83e285fcceaab7ee4c4736c2decef0">   79</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a5e83e285fcceaab7ee4c4736c2decef0">set_formatter_</a>(std::unique_ptr&lt;spdlog::formatter&gt; sink_formatter)<span class="keyword"> override</span></div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink&lt;Mutex&gt;::formatter_</a> = std::move(sink_formatter);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> &amp;<a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a> : <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>)</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a>-&gt;<a class="code" href="classspdlog_1_1sinks_1_1sink.html#ac410f2229e583a75337a5fdf45d020be">set_formatter</a>(<a class="code" href="classspdlog_1_1sinks_1_1base__sink.html">base_sink&lt;Mutex&gt;::formatter_</a>-&gt;clone());</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    }</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">   87</a></span>&#160;    std::vector&lt;std::shared_ptr&lt;sink&gt;&gt; <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">sinks_</a>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;};</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a1ec468592fd56492075c61a4917acd12">   90</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink_mt</a> = <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink&lt;std::mutex&gt;</a>;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a08b36045f24c178daafc48778df0ce5a">   91</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink_st</a> = <a class="code" href="classspdlog_1_1sinks_1_1dist__sink.html">dist_sink&lt;details::null_mutex&gt;</a>;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;} <span class="comment">// namespace sinks</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;} <span class="comment">// namespace spdlog</span></div><div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_aee70cdd1f77473d658840447d3f3afff"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#aee70cdd1f77473d658840447d3f3afff">spdlog::sinks::sink::should_log</a></div><div class="ttdeci">bool should_log(level::level_enum msg_level) const </div><div class="ttdef"><b>Definition:</b> <a href="sink_8h_source.html#l00030">sink.h:30</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_ae32182a47ebea9c66c02e6a9822ffdcd"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#ae32182a47ebea9c66c02e6a9822ffdcd">spdlog::sinks::sink::sink</a></div><div class="ttdeci">sink()=default</div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a5e83e285fcceaab7ee4c4736c2decef0"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a5e83e285fcceaab7ee4c4736c2decef0">spdlog::sinks::dist_sink::set_formatter_</a></div><div class="ttdeci">void set_formatter_(std::unique_ptr&lt; spdlog::formatter &gt; sink_formatter) override</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00079">dist_sink.h:79</a></div></div>
<div class="ttc" id="null__mutex_8h_html"><div class="ttname"><a href="null__mutex_8h.html">null_mutex.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a6f91b5522c12fd448ca2fd7cb8fe0097"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a6f91b5522c12fd448ca2fd7cb8fe0097">spdlog::sinks::dist_sink::operator=</a></div><div class="ttdeci">dist_sink &amp; operator=(const dist_sink &amp;)=delete</div></div>
<div class="ttc" id="namespacespdlog_html"><div class="ttname"><a href="namespacespdlog.html">spdlog</a></div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00027">async.h:27</a></div></div>
<div class="ttc" id="namespacespdlog_1_1details_1_1os_html_a6026b23c139f733601c1a5fa9f4d555f"><div class="ttname"><a href="namespacespdlog_1_1details_1_1os.html#a6026b23c139f733601c1a5fa9f4d555f">spdlog::details::os::remove</a></div><div class="ttdeci">int remove(const filename_t &amp;filename) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="os_8h_source.html#l00169">os.h:169</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html_a4142f4d66140a1ea24053311ebea5706"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html#a4142f4d66140a1ea24053311ebea5706">spdlog::details::log_msg::level</a></div><div class="ttdeci">level::level_enum level</div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00042">log_msg.h:42</a></div></div>
<div class="ttc" id="spdlog_8h_html"><div class="ttname"><a href="spdlog_8h.html">spdlog.h</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html">spdlog::details::log_msg</a></div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00016">log_msg.h:16</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_a51d8f34ad79064e0dc13c6013236e427"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#a51d8f34ad79064e0dc13c6013236e427">spdlog::sinks::sink::log</a></div><div class="ttdeci">virtual void log(const details::log_msg &amp;msg)=0</div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_a8a0674ae3bca8f1617aef820e23a2ccd"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#a8a0674ae3bca8f1617aef820e23a2ccd">spdlog::sinks::sink::flush</a></div><div class="ttdeci">virtual void flush()=0</div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_ae2250f59f23ecaf3214da6059198ad3c"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#ae2250f59f23ecaf3214da6059198ad3c">spdlog::sinks::dist_sink::add_sink</a></div><div class="ttdeci">void add_sink(std::shared_ptr&lt; sink &gt; sink)</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00035">dist_sink.h:35</a></div></div>
<div class="ttc" id="base__sink_8h_html"><div class="ttname"><a href="base__sink_8h.html">base_sink.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a516ef929a8cd73df2ead2e0086e04607"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a516ef929a8cd73df2ead2e0086e04607">spdlog::sinks::dist_sink::sink_it_</a></div><div class="ttdeci">void sink_it_(const details::log_msg &amp;msg) override</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00054">dist_sink.h:54</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html">spdlog::sinks::dist_sink</a></div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00028">dist_sink.h:28</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a790a80f63276473cedbce99047adcab0"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a790a80f63276473cedbce99047adcab0">spdlog::sinks::dist_sink::flush_</a></div><div class="ttdeci">void flush_() override</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00066">dist_sink.h:66</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_ac1537fdc6225fd57cc819e1fb9c5f8c7"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#ac1537fdc6225fd57cc819e1fb9c5f8c7">spdlog::sinks::dist_sink::remove_sink</a></div><div class="ttdeci">void remove_sink(std::shared_ptr&lt; sink &gt; sink)</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00041">dist_sink.h:41</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html">spdlog::sinks::sink</a></div><div class="ttdef"><b>Definition:</b> <a href="sink_8h_source.html#l00014">sink.h:14</a></div></div>
<div class="ttc" id="log__msg_8h_html"><div class="ttname"><a href="log__msg_8h.html">log_msg.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_ab5cfe7f044b6381435eac6dc273384e5"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#ab5cfe7f044b6381435eac6dc273384e5">spdlog::sinks::dist_sink::dist_sink</a></div><div class="ttdeci">dist_sink()=default</div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a6f77a1e2f45ed85ee8ed554cf7442d4e"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a6f77a1e2f45ed85ee8ed554cf7442d4e">spdlog::sinks::dist_sink::set_pattern_</a></div><div class="ttdeci">void set_pattern_(const std::string &amp;pattern) override</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00074">dist_sink.h:74</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_a3d9d8c330d7d6455f45db77d4e6977f4"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#a3d9d8c330d7d6455f45db77d4e6977f4">spdlog::sinks::dist_sink::sinks_</a></div><div class="ttdeci">std::vector&lt; std::shared_ptr&lt; sink &gt; &gt; sinks_</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00087">dist_sink.h:87</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1dist__sink_html_aa0e154cef03e368fefaa7bc845d682a1"><div class="ttname"><a href="classspdlog_1_1sinks_1_1dist__sink.html#aa0e154cef03e368fefaa7bc845d682a1">spdlog::sinks::dist_sink::set_sinks</a></div><div class="ttdeci">void set_sinks(std::vector&lt; std::shared_ptr&lt; sink &gt;&gt; sinks)</div><div class="ttdef"><b>Definition:</b> <a href="dist__sink_8h_source.html#l00047">dist_sink.h:47</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1base__sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1base__sink.html">spdlog::sinks::base_sink</a></div><div class="ttdef"><b>Definition:</b> <a href="base__sink_8h_source.html#l00022">base_sink.h:22</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_ac410f2229e583a75337a5fdf45d020be"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#ac410f2229e583a75337a5fdf45d020be">spdlog::sinks::sink::set_formatter</a></div><div class="ttdeci">virtual void set_formatter(std::unique_ptr&lt; spdlog::formatter &gt; sink_formatter)=0</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_92a4bcc0ca1142b221c58a95a60bf3b6.html">sinks</a></li><li class="navelem"><a class="el" href="dist__sink_8h.html">dist_sink.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
